<%@ page import="java.util.Map" %><%--
  Created by IntelliJ IDEA.
  User: WS
  Date: 2020/2/26
  Time: 9:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>参数获取</title>
</head>
<body>
获取参数:
<%
    Map<String, String[]> parameterMap = request.getParameterMap();
    for (String s : parameterMap.keySet()) {
        out.write(s + ":");
        for (String str : parameterMap.get(s)) {
            out.write(str + "\t");
        }
        out.write("<br>");
    }
%>
</body>
</html>
